﻿<%@ Page Language="C#" MasterPageFile="~masterurl/custom.master" AutoEventWireup="true"
  Inherits="Kiiro.SiteDefinition.ProjectPages.Upload, Kiiro.SiteDefinition, Version=1.2.0.7, Culture=neutral, PublicKeyToken=5b2f4277f61b7816" %>

<%@ Register TagPrefix="SP" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="v2" TagName="AttachmentControl" Src="~/_controltemplates/Kiiro/AttachmentControl.ascx" %>
<%@ Register TagPrefix="v2" TagName="TeamMembers" Src="~/_controltemplates/Kiiro/TeamMemberCollection.ascx" %>
<asp:Content ID="ContentTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
  <asp:Literal ID="litTitle" runat="server" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

  <script type="text/javascript">
    $(InitTeamMemberCollection);
    $(InitAttachments);
  </script>

  <asp:Panel ID="pnlActionBar" runat="server" CssClass="actionbar">
    <div class="wrap-has-tabs">
      <p class="left">
        <asp:HyperLink ID="lnkBack" runat="server" CssClass="icon-back" Text="Back To Documents" /></p>
    </div>
  </asp:Panel>
  <div class="body-pad">
    <div class="body">
      <div class="wrap">
        <div class="panel">
          <div class="panel-wrap">
            <asp:Panel ID="pnlDocument" runat="server">
              <div class="panel-content">
                <div class="settings">
                  <div class="row" id="AttachmentSection" runat="server">
                    <v2:AttachmentControl id="attachmentControl" runat="server" />
                    <dl>
                      <dt>
                        <h3>
                          Select the document(s) to be uploaded.</h3>
                      </dt>
                      <dd>
                        Browse to the document(s) you wish to upload. You can add as many documents as you
                        like. Once you are finished selecting files, click the save button to upload.</dd>
                    </dl>
                  </div>
                  <div class="row borderless" id="EmailSection" runat="server">
                    <dl>
                      <dt>
                        <label for="text">
                          Notify Users</label></dt>
                      <dd>
                        <v2:TeamMembers id="TeamMembers1" runat="server" />
                      </dd>
                      <dd>
                        <asp:Label ID="Label1" runat="server" class="validation-message" /></dd>
                    </dl>
                    <dl>
                      <dt>
                        <h3>
                          Users to notify.</h3>
                      </dt>
                      <dd>
                        The selected users will be notified that a new discussion has been created. Users
                        with a disabled checkbox have email notifications turned off.</dd>
                    </dl>
                  </div>
                </div>
              </div>
            </asp:Panel>
            <asp:Panel ID="pnlFolder" runat="server">
              <div class="panel-content">
                <div class="settings">
                  <div class="row borderless">
                    <dl>
                      <dt>
                        <label for="name">
                          Folder Name <span class="required">*</span></label></dt>
                      <dd>
                        <asp:TextBox ID="txtFolderName" runat="server" CssClass="input" /></dd>
                      <dd>
                        <asp:Label ID="lblFolderTitleMessage" runat="server" class="validation-message" /></dd>
                    </dl>
                    <dl>
                      <dt>
                        <h3>
                          Folder Name.</h3>
                      </dt>
                      <dd>
                        Maximum length of 30 alphanumeric characters.</dd>
                    </dl>
                  </div>
                </div>
              </div>
            </asp:Panel>
          </div>
        </div>
        <div class="form-buttons">
          <ul>
            <li>
              <asp:LinkButton ID="btnUpload" runat="server" OnClick="btnUpload_Click" Text="UPLOAD">
                    <img alt="" src="/_layouts/images/Kiiro/button-save.png" /></asp:LinkButton></li>
            <li>
              <asp:LinkButton ID="btnCancelUser" runat="server" Text="CANCEL" OnClick="btnCancel_Click">
                    <img alt="" src="/_layouts/images/Kiiro/button-cancel.png" /></asp:LinkButton></li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</asp:Content>
